﻿using System;
using System.Collections.Generic;
using System.Text;

/// <summary>
/// 【Demo可删除】
/// </summary>
namespace MuXue.Zyiz.Template.Domain.Model.response
{

    /// <summary>
    ///【Demo可删除】 列表的订单实体
    /// </summary>
    public class SmallOrderResp
    {

        /// <summary>
        /// App的用户id
        /// </summary>
        public string app_user_id { get; set; }

        /// <summary>
        /// 订单编号
        /// </summary>
        public string order_no { get; set; }

        #region 商品信息

        /// <summary>
        /// 课程id
        /// </summary>
        public int course_id { get; set; }
        /// <summary>
        /// 课程名称
        /// </summary>
        public string course_name { get; set; }
       
        /// <summary>
        /// 课程单价
        /// </summary>
        public decimal course_price { get; set; }

        /// <summary>
        /// 课次（3课次=9课时）
        /// </summary>
        public int class_times { get; set; }


        /// <summary>
        /// 学校名称
        /// </summary>
        public string school_name { get; set; }

        /// <summary>
        /// 年级
        /// </summary>
        public string student_grade { get; set; }

        /// <summary>
        /// 学科/科目
        /// </summary>
        public string course_subject { get; set; }

        /// <summary>
        /// 合同类型Id
        /// </summary>
        public int contract_type_id { get; set; } = 0;
        /// <summary>
        /// 合同类型名称
        /// </summary>
        public string contract_type_name { get; set; }


        #endregion 

        #region 订单基本信息

        /// <summary>
        /// 交易流水号（支付通道返回的）
        /// </summary>
        public string trade_serial_no { get; set; }
        /// <summary>
        ///订单状态（0确认订单待支付,1支付成功,2取消订单,100已转化为合同）
        /// </summary>
        public int order_status { get; set; }

        /// <summary>
        /// 支付通道
        /// </summary>
        public string payment_channel { get; set; }

        /// <summary>
        /// 应付商品总金额
        /// </summary>
        public decimal payable_amount { get; set; }

        /// <summary>
        /// 实付商品总金额
        /// </summary>
        public decimal real_amount { get; set; }
       
        /// <summary>
        /// 支付状态（0未支付1已支付）
        /// </summary>
        public int payment_status { get; set; }

        /// <summary>
        /// 创建日期 默认为当前时间
        /// </summary>
        public DateTime create_time { get; set; } = DateTime.Now;



        /// <summary>
        /// 实际支付时间
        /// </summary>
        public DateTime? payment_time { get; set; }


        #endregion
    }
}
